Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTransform


PreCompose

The PreCompose method modifies this transform's matrix by premultiplying it with the specified transform's matrix.

ODTransform PreCompose (in ODTransform transform);
transform
A reference to the transform whose matrix is to be premultiplied with this transform's matrix.
return value
A reference to this transform after the precompose operation.
DISCUSSION
Precomposing multiplies this transform's matrix on the left side by the specified transform.

   this ¨ transform  this
The resulting transform has the same effect as applying the two original transforms in sequence: first the other transform, then this one.

OVERRIDING
If you subclass ODTransform to create a nonlinear transform class, you must override this method. Your override method can call its inherited method at any point in your implementation (it does not matter where).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help